From: Eli Zaretskii Date: Fri, 25 Jan 2002 14:15:02 +0000 (+0000) Subject: (Text Terminal Colors): Document tty-display-color-p. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~59064 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=e8384e86112b25f79cfc19f3da0ad48c2b5746c8;p=emacs.git (Text Terminal Colors): Document tty-display-color-p. --- diff --git a/lispref/frames.texi b/lispref/frames.texi index af03160d992..adae8efe732 100644 --- a/lispref/frames.texi +++ b/lispref/frames.texi @@ -1575,9 +1575,15 @@ will specify which terminal to operate on (the default being the selected frame's terminal; @pxref{Input Focus}). At present, though, the @var{display} argument has no effect. +@defun tty-display-color-p &optional display +This function returns non-@code{nil} if the terminal on @var{display} +supports colors. +@end defun + @defun tty-display-color-cells &optional display This function returns the number of distinct colors supported for -@var{display}. +@var{display}. For a monochrome terminal which only supports two +colors (usually black and white), this function returns zero. @end defun @defun tty-color-define name number &optional rgb display